package com.andy.customerService.service;


import com.andy.customerService.entity.Org;
import com.andy.customerService.pojo.request.OrgRequestParam;
import com.andy.customerService.vo.JsonBaseResult;
import com.andy.customerService.vo.JsonPageResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 组织机构表 服务类
 * </p>
 *
 * @author Andy
 * @since 2021-12-27
 */
public interface OrgService extends IService<Org> {

    void addOrg(Org org);

    void editOrgById(Org org);

    void deleteOrgById(Long id);

    JsonBaseResult<Object> queryOrgById(Long id);

    JsonPageResult<Object> queryOrgByParam(OrgRequestParam requestParam);
}
